home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / lan / malmove1.zip / MAILMOVE.DOC < prev    next >
Text File  |  1996-04-28  |  2KB  |  78 lines

  1. Updated 04/28/96
  2. Joe Lyda 1:3622/1000 jlyda@edge.net
  3.  
  4. Commandline:
  5. MAILMOVE [Source_Dir] [Destination_Dir] [FileName_to_move_without_extention]
  6.  
  7. Command Line #1 is the directory that the mail ????????.* files are to be 
  8.                  moved from.
  9. Command Line #2 is the directory that the mail ????????.* will be moved to.
  10. Command Line #3 is the first eight characters of the mail bundle. (0000FFFF
  11.                 would be used for Planet Connect mail bundles)  DO NOT 
  12.                 INCLUDE THE FILE EXTENTION!!
  13.  
  14. [example]
  15. MAILMOVE K:\FIDO\IN S:\IM\FILES 0000FFFF
  16.  
  17. MAILMOVE.EXE can go anywhere in your path= statement in the autoexec.bat.
  18.  
  19. Great for multi source mail bundles.  
  20.  
  21. Moves mail bundles acording to date/time stamp, the oldiest file first
  22.  
  23. I made mailmove more freindly as to accomidate other source of mail as well
  24. as NO MORE CONFIG FILE!!
  25.  
  26. I run a 4 node network using Novel Lite and MAILMOVE will move across the 
  27. net from any drive to any drive that is maped by Novel Lite.  I allow PCFU
  28. to move all my files from the Planet Connect Computer (node3) to my 
  29. H:\IM\TOSS drive and directory (node1) and let IM events handle the rest
  30. of the work except for a if exist statement that checks the im\toss 
  31. directory for mail.  Following is a example of my batch file that I use.
  32. Works well under Lantasti 6.0 and Novell Personal.
  33.  
  34. You might want to try my TICMOVE as well.
  35.  
  36. [sample batch file]
  37. :START
  38. if exist h:\im\toss\0000ffff.* goto GET_FIDO_MAIL
  39. if exist h:\im\inbound\oueight1.* goto GET_OTHERNET_MAIL
  40. C:
  41. CD\im
  42. ECHO OFF
  43. CTTY CON
  44. c:
  45. CD c:\im
  46. im /nounpack
  47. IF ERRORLEVEL 99 GOTO LOCAL_CAT
  48. if ERRORLEVEL 89 GOTO GET_OTHERNET_MAIL
  49. IF ERRORLEVEL 88 GOTO GET_FIDO_MAIL
  50. IF ERRORLEVEL 87 GOTO PROCESS_MAIL
  51. IF ERRORLEVEL 86 GOTO CLEAN_UP
  52. IF ERRORLEVEL 81 GOTO PACK_MAIL
  53. IF ERRORLEVEL 75 GOTO EVENT_ONE
  54. IF ERRORLEVEL 51 GOTO BBS
  55. IF ERRORLEVEL 48 GOTO BBS
  56. IF ERRORLEVEL 45 GOTO BBS
  57. IF ERRORLEVEL 40 GOTO BBS
  58. IF ERRORLEVEL 35 GOTO BBS
  59. IF ERRORLEVEL 10 GOTO CLICK_CLICK
  60. GOTO CLICK_CLICK
  61.  
  62. :GET_MAIL
  63. CD\im
  64. :MAIL_MOVE
  65. mailmove s:\im\toss s:\im\files 0000FFFF
  66. cd\gecho
  67. gecho toss scan import
  68. IF EXIST C:\IM\FILE\0000FFFF.* GOTO MORE_MAIL
  69. goto START
  70. :GET_OTHERNET_MAIL
  71. mailmove c:\im\othernet s:\im\files oueight1
  72. cd\gecho
  73. gecho toss scan import
  74. if exist c:\im\othernet\oueight1.* goto GET_OTHERNET_MAIL
  75. goto start
  76.  
  77. REM ENDING SESSION
  78. :CLICK_CLICK